from rest_framework.routers import SimpleRouter
from .views import MobileView,LoginViewSet,SMSView,UserView,ModifyView,ModifyPassword,GetVipView,CreateVipView,ComicHistoryView

router = SimpleRouter()
router.register('mobile', MobileView, 'mobile')
router.register('login', LoginViewSet, 'login')
router.register('sms', SMSView, 'sms')
router.register('register', UserView, 'register')
router.register('modify',ModifyView,'modify')
router.register('modify_pwd',ModifyPassword,'modify_pwd')
router.register('vip',GetVipView,'cip')
router.register("createvip",CreateVipView,'createvip')
router.register("history",ComicHistoryView,'history')



urlpatterns = [

]
urlpatterns += router.urls
